package com.zoweunion.mechanic.dao.order;

import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface TZOrderDao {

	/**
	 * 根据查询条件计数
	 * @param reqMap
	 * @return
	 */
	int countBycondition(Map<String, Object> reqMap);

	/**
	 * 根据订单状态条件分页查询
	 * @param reqMap
	 * @return
	 */
	List<Map<String, Object>> listByStatus(Map<String, Object> reqMap);

	

}
